//
//  AfNetWorkingManager.h
//  GTMDBTest
//
//  Created by dllo on 15/11/25.
//  Copyright © 2015年 zxx. All rights reserved.
//

#import <Foundation/Foundation.h>
@class AFHTTPSessionManager;

typedef NS_ENUM(NSUInteger, NetStatus) {
    Unknow,
    NotReachable,
    WWAN,
    WiFi,
};

@interface AfNetWorkingManager : NSObject


/*
 *brief get方法获取数据
 *param url 接口地址
 *param block  数据回调block
 */
+ (void)getInfoWithUrl:(NSString *)url
                    block:(void (^)(NSDictionary * resultDic, NSError *error))block;


/*
 *brief post方法获取数据
 *param Parameters body体
 *param url 接口地址
 *param block  数据回调block
 */
+ (void)postWithParameters:(NSDictionary *)Parameters
                       Url:(NSString *)url
                     block:(void (^)(NSDictionary *resultDic, NSError *error))block;
@end
